package com.wzcl.app.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * 展示用户错题统计数
 */
@Data
public class WrongTopicPreviewVo implements Serializable{

    @ApiModelProperty(value = "总数")
    private BigInteger total;

    @ApiModelProperty(value = "知识点ID")
    private Integer knowledgeId;

    @ApiModelProperty(value = "年级ID")
    private Integer gradeId;

    @ApiModelProperty(value = "年级名称")
    private String gradeName;

    @ApiModelProperty(value = "学科Id")
    private Integer subjectId;

    @ApiModelProperty(value = "学科name")
    private String subjectName;

    @ApiModelProperty(value = "章节")
    private String chapter;

    @ApiModelProperty(value = "知识点")
    private String point;

    public Integer getTotal(){
        return total == null?0:total.intValue();
    }
}
